[NTG-context] Re: Testing whether an XML attribute exists

2023-10-17 Thread Hans van der Meer via ntg-context
e I am >> not interested in the attribute's value but only whether or not it exists. >> The code below doesn't work. If someone who knows why it doesn't work would >> enlighten my ignorance I would be most grateful. A brief explanation and >> example of \xmldoifatt, \xmldoifnotatt,

[NTG-context] Re: Testing whether an XML attribute exists

2023-10-17 Thread Taco Hoekwater
if prefix does not match an empty string", since I am > not interested in the attribute's value but only whether or not it exists. > The code below doesn't work. If someone who knows why it doesn't work would > enlighten my ignorance I would be most grateful. A brief explanation and

[NTG-context] Testing whether an XML attribute exists

2023-10-17 Thread Michael Guravage
The code below doesn't work. If someone who knows why it doesn't work would enlighten my ignorance I would be most grateful. A brief explanation and example of \xmldoifatt, \xmldoifnotatt, and \xmldoifelseatt would be exceedingly helpful. \startxmlsetups xml:list:family {\bf \xmlatt{#1}{surname} \x